<canvas width="32" height="32">
</canvas>
<br>
<iframe></iframe>
<script>
var canvas = document.querySelector('canvas');
var context = canvas.getContext('2d');
context.beginPath();
context.arc(15, 15, 15, 0, Math.PI * 2);
context.fill();
context.font = '11px Tahoma';
context.fillStyle = '#00CCFF';
context.fillText('Ev', 5, 22);

var iframe = document.querySelector('iframe');
iframe.src = canvas.toDataURL('image/png');
</script>
